/*! \file MemoryMappedFile.inl
 *	\brief 
 *
 *	created:	2010/11/23
 *	created:	23:11:2010   10:13
 *	filename: 	C:\src\tactics-engine\libs\io\MemoryMappedFile.inl
 *	file path:	C:\src\tactics-engine\libs\io
 *	file base:	MemoryMappedFile
 *	file ext:	inl
 *	author:		Vitalii Trubchaninov
 *				vitalii.trubchaninov@ubisoft.com
 */
namespace tt{
namespace io{

inline
bool MemoryMappedFilePS::Writeable() const
{
	return m_Mode == MemoryMappedFileMode_READWRITE;
}

inline
size_t MemoryMappedFilePS::GetSize() const
{
	return m_Size;
}

inline
const void* MemoryMappedFilePS::GetData() const
{
	return m_Data;
}

} //namespace io
} //namespace tt
